package com.joysuch.wwyt.edu.service;

import com.joysuch.wwyt.edu.bean.CommonBean;
import com.joysuch.wwyt.edu.entity.EduTrainningRecord;

import java.util.Date;
import java.util.List;
import java.util.Set;

public interface EduAsyncService {

    void saveToTriggerTraining(EduTrainningRecord eduTrainningRecord, Long id, CommonBean commonBean);

    void saveToTriggerExam(Long id, Date startTime, String code, Integer state,CommonBean commonBean);

    void saveRelatedTestPapers(Long id, List<Long> testPapers, List<Long> userIds,CommonBean commonBean);

    void deleteRedisKeyByExamId(Long id);

}
